﻿<UserControl x:Class="SilverlightInkDemo.MainPage"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
        <Canvas>
            <Canvas.Resources>
                <Storyboard Duration="00:00:00.001" x:Name="ReplayTimer" Completed="ReplayTimer_Completed" />
            </Canvas.Resources>

            <InkPresenter Width="400" Height="400" Background="CornflowerBlue" x:Name="inkPresenter" MouseMove="inkPresenter_MouseMove" MouseLeftButtonDown="inkPresenter_MouseLeftButtonDown" MouseLeftButtonUp="inkPresenter_MouseLeftButtonUp" />

            <Button Content="Clear" Width="50" Height="24" x:Name="Clear" Click="Clear_Click" />

            <Button Content="Save" Width="50" Height="24" Canvas.Top="24" x:Name="Save" Click="Save_Click" />
            <Button Content="Replay" Width="50" Height="24" Canvas.Top="48" x:Name="Replay" Click="Replay_Click" />
        </Canvas>
    </Grid>
</UserControl>
